MailPoet\Config\Menu A

Total Complexity 67
Dependencies 29
Dependents 13
Total lines 753
Lines of code 568
Logical lines of code 157
Comment lines 50
Methods 38
Properties 8

Methods 38

Method Rating Maintainability Complexity Lines of code
registerMailPoetSubMenuEntries()
A
27
2 241
highlightNestedMailPoetSubmenus()
A
51 8 27
setup()
A
44 6 52
isOnMailPoetAdminPage()
S
58 6 16
addErrorPage()
S
54 5 23
registerAutomationMenu()
S
45 3 48
registerMailPoetMenu()
S
51 1 34
getPageFromContext()
S
67 3 7
checkPremiumKey()
S
68 3 6
isOnMailPoetAutomationPage()
S
61 2 13
init()
S
64 1 11
segments()
S
81 1 3
errorPageCallback()
S
89 1 2
setPageTitle()
S
70 1 7
formEditorTemplateSelection()
S
81 1 3
formEditor()
S
81 1 3
export()
S
81 1 3
import()
S
81 1 3
newletterEditor()
S
81 1 3
newsletters()
S
81 1 3
forms()
S
81 1 3
__construct()
S
67 1 8
lists()
S
81 1 3
subscribers()
S
81 1 3
experimentalFeatures()
S
81 1 3
automationAnalytics()
S
81 1 3
automationEditor()
S
81 1 3
automationTemplates()
S
81 1 3
automation()
S
81 1 3
homepage()
S
81 1 3
help()
S
81 1 3
settings()
S
81 1 3
upgrade()
S
81 1 3
wooCommerceSetup()
S
81 1 3
landingPage()
S
81 1 3
welcomeWizard()
S
81 1 3
disableWPEmojis()
S
76 1 4
logs()
S
81 1 3